package com.wn.mapper;

import com.wn.common.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RoleMapper {
    int deleteByPrimaryKey(@Param("roleId") Integer roleId,@Param("updateUserId") Integer updateUserId);

    int insert(Role record);

    int insertSelective(Role record);

    Role selectByPrimaryKey(Integer roleId);

    int updateByPrimaryKeySelective(Role record);

    int updateByPrimaryKey(Role record);

    List<Role> selectBySuperSearchKeyWord(String superSearchKeyWord);

    List<Role> selectAll();
}
